package com.wps.wdztv6.domain.edit;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@Builder
public class FileVersionCallback {

    @JSONField(name="file")
    private File file;

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    @Getter
    @Setter
    @Builder
    public static class File {

        @JSONField(name = "id")
        private String id;

        @JSONField(name = "name")
        private String name;

        @JSONField(name = "version")
        private int version;

        @JSONField(name = "size")
        private long size;

        @JSONField(name = "creator")
        private String creator;

        @JSONField(name = "create_time")
        private long createTime;

        @JSONField(name = "modifier")
        private String modifier;

        @JSONField(name = "modify_time")
        private long modifyTime;

        @JSONField(name = "download_url")
        private String downloadUrl;

    }

}
